import type { RodData, rodParams, warningData } from "@/types/rod";
import { request } from "@/utils/reuqest";

// 获取一体杆列表
export const getRodAPI = (data:rodParams)=>{
    return request<RodData>('/pole/info/list','get',data);
  }

//   警告列表
export const getRodWarnAPI = (data:rodParams)=>{
    return request<warningData>('/pole/warning/list','get',data);
  }